package com.hyy.lotterysystem.controller.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class VerifyCodeLoginParam extends UserLoginParam {

    @JsonProperty("loginMobile")//阿里云短信不能用了
    @NotBlank(message = "邮箱不能为空")
    private String email;

    @JsonProperty("verificationCode")
    @NotBlank(message = "验证码不能为空")
    private String verifyCode;

}
